package com.kitty.game.welfare.message;

import com.kitty.game.welfare.message.vo.LoginReward;
import com.kitty.mina.Modules;
import com.kitty.mina.annotation.ListField;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.message.Message;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@MessageMeta(module = Modules.MSG_LOGIN_GIFT)
@Getter
@Setter
public class RespLoginGift extends Message {
    private byte loginDays;
    @ListField(1)
    private List<LoginReward> rewards;

    public RespLoginGift() {}

    public RespLoginGift(byte loginDays, List<LoginReward> rewards) {
        this.loginDays = loginDays;
        this.rewards = rewards;
    }
}
